@import 'mixin.scss';
@import 'var.scss';
// 聚设计-设计师列表
.jsheji-list {
    display: flex;
    flex-wrap: wrap;
    .jsheji-item {
        width: 285px;
        margin-right: 20px;
        margin-bottom: 18px;
        position: relative;
        &:hover {
            .show-wrap {
                opacity: 1;
            }
        }
        &:nth-child(4n) {
            margin-right: 0;
        }
        img {
            width: 285px;
            height: 350px;
            display: block;
        }
        .jsheji-bottom {
            background-color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-top: -56px;
            .toux {
                width: 112px;
                height: 112px;
                border-radius: 50%;
                display: block;
                border: 3px solid #fff;
            }
            .name {
                font-size: 18px;
                color: #000;
                margin: 16px 0 12px 0;
            }
            .desc {
                margin-bottom: 28px;
                font-size: 14px;
                color: $fc-gray;
            }
        }
        .show-wrap {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            background-color: rgba(73, 96, 165, .9);
            opacity: 0;
            transition: all .5s;
            padding: 145px 63px;
            &:hover {
                display: block;
            }
            a {
                display: block;
                line-height: 38px;
                width: 156px;
                text-align: center;
                border: 2px solid #fff;
                margin: 15px 0;
                color: #fff;
                font-size: 16px;
            }
        }
    }
}

//设计师 背景颜色
.designer_bg {
    background: #f4f4f4;
}

//设计师首页
.designer_i {
    padding-top: 40px;
    position: relative;
    .designer_i-add {
        position: absolute;
        top: -60px;
        right: 0px;
        width: 120px;
        height: 36px;
        box-sizing: border-box;
        border: 2px solid $border-blue;
        font-size: 14px;
        color: $fc-blue;
        background: $bg-white;
        display: flex;
        justify-content: center;
        align-items: center;
        i {
            margin-right: 6px;
        }
    }
    &>.top {
        width: 960px;
        height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        .top-head-border {
            margin-top: 34px;
            margin-bottom: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 108px;
            height: 108px;
            background: rgba(0, 0, 0, .15);
            border-radius: 50%;
            .top-head {
                width: 100px;
                height: 100px;
                position: relative;
                border-radius: 50%;
                background-image: url(../img/designer_head_bg.png);
                background-position: center;
                .top-head-img {
                    width: 100%;
                    height: 100%;
                    border-radius: 50%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    overflow: hidden;
                    &>img {
                        border-radius: 50%;
                    }
                }
                .top-head-tag {
                    position: absolute;
                    bottom: 5px;
                    left: 65px;
                    white-space: nowrap;
                    line-height: 16px;
                    color: #4db093;
                    padding: 0 8px;
                    border: 2px solid #4db093;
                    border-radius: 10px;
                    background: $bg-white;
                    font-size: 12px;
                }
            }
        }
        &>h1 {
            font-size: 22px;
            color: $fc-white;
            text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
            padding-bottom: 12px;
        }
        &>h2 {
            font-size: 14px;
            color: $fc-white;
            text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
            padding-bottom: 20px;
        }
        &>.top-btn {
            display: flex;
            justify-content: center;
            &>a {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 36px;
                line-height: 36px;
                font-size: 14px;
                font-weight: bold;
                border-radius: 3px;
                color: $fc-white;
                margin: 0 5px;
                cursor: pointer;
            }
            .top-btn-bright {
                background-image: linear-gradient( 90deg, rgb(246, 97, 18) 0%, rgb(250, 125, 60) 100%);
                box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.2);
            }
            .top-btn-dark {
                background-image: linear-gradient( 90deg, rgb(100, 105, 115) 0%, rgb(123, 128, 139) 100%);
                box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.2);
            }
            .top-btn-long {
                width: 110px;
            }
            .top-btn-short {
                width: 36px;
            }
        }
    }
    &>.con {
        background: $bg-white;
        padding-top: 20px;
        padding: 10px 30px 110px 30px;
        box-sizing: border-box;
        .con-col {
            .con-col-title {
                display: flex;
                justify-content: space-between;
                align-items: center;
                border-bottom: 1px solid $border-gray;
                margin-bottom: 30px;
                &>h1 {
                    font-size: 16px;
                    color: $fc-base;
                }
                .con-col-title-btn {
                    display: flex;
                    height: 53px;
                    align-items: center;
                    &>a {
                        margin-left: 32px;
                    }
                    &>p,
                    &>a {
                        cursor: pointer;
                        font-size: 12px;
                        color: $fc-gray;
                        display: flex;
                        i {
                            margin-right: 8px;
                        }
                    }
                }
            }
            .con-col-imglist {
                display: flex;
                flex-wrap: wrap;
                .con-col-imglist-img {
                    margin-bottom: 20px;
                    margin-right: 20px;
                    &:nth-child(4n) {
                        margin-right: 0px;
                    }
                    &>img {
                        display: block;
                    }
                }
            }
        }
    }
}

//设计师 工作室 入驻  添加作品
.designer_join {
    padding-top: 36px;
    .designer_join-title {
        display: flex;
        justify-content: center;
        &>p {
            margin: 0 5px;
            width: 150px;
            height: 42px;
            border: 1px solid $border-gray;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #f9f9f9;
            font-size: 16px;
            color: $fc-title-gray;
            font-size: 16px;
            cursor: pointer;
            position: relative;
            top: 1px;
        }
        &>.cur {
            background: $bg-white;
            border-bottom: 1px solid $border-white;
            color: $fc-blue;
            border-top: 2px solid $border-blue;
            padding-top: 3px;
            top: -3px;
            margin-bottom: -4px;
        }
    }
    .designer_join-con {
        padding: 20px 78px 60px 78px;
        border: 1px solid $border-gray;
        background: $bg-white;
        .designer_join-con-col {
            display: flex;
            margin-bottom: 20px;
            &>h1 {
                color: $fc-title-gray;
                font-size: 12px;
                width: 240px;
                text-align: right;
                line-height: 42px;
                margin-right: 20px;
            }
            &>.input {
                width: 300px;
                height: 42px;
                box-sizing: border-box;
                border: 1px solid $border-gray;
                background: $bg-white;
                text-indent: 10px;
            }
            &>.option {
                cursor: pointer;
                margin-right: 20px;
                width: 300px;
                position: relative;
                &>p {
                    width: 100%;
                    height: 42px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    border: 1px solid $border-gray;
                    font-size: 12px;
                    color: $fc-title-gray;
                    padding: 0 10px;
                    box-sizing: border-box;
                }
                &>.option-sub {
                    display: none;
                    z-index: 51;
                    position: absolute;
                    top: 41px;
                    left: 0px;
                    border: 1px solid $border-gray;
                    width: 100%;
                    background: $bg-white;
                    max-height: 242px;
                    overflow: hidden;
                    overflow-y: scroll;
                    box-sizing: border-box;
                    &>p {
                        width: 100%;
                        line-height: 40px;
                        text-indent: 10px;
                        font-size: 12px;
                        color: $fc-gray;
                        &:hover {
                            background: $bg-blue;
                            color: $fc-white;
                        }
                    }
                    &>.cur {
                        background: $bg-blue;
                        color: $fc-white;
                    }
                }
            }
            &>.option_short {
                width: 140px;
            }
        }
        .designer_join-con-col_img {
            padding-top: 31px;
            background-image: url(../img/border_dotted.png);
            background-repeat: repeat-x;
            background-position: top left;
            .designer_join-con-col_img-input {
                position: relative;
                width: 80px;
                height: 80px;
                cursor: pointer;
                &>input {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    top: 0px;
                    left: 0px;
                    opacity: 0;
                    cursor: pointer;
                }
            }
        }
        .designer_join-con-col_addimg {
            padding-top: 210px;
            background-image: url(../img/border_dotted.png);
            background-repeat: repeat-x;
            background-position: top left;
            position: relative;
            .designer_join-con-col_addimg-img {
                width: 150px;
                height: 150px;
                overflow: hidden;
                position: absolute;
                top: 30px;
                left: 258px;
                img {
                    display: block;
                }
                i {
                    position: absolute;
                    top: 5px;
                    right: 5px;
                    cursor: pointer;
                }
            }
        }
        .designer_join-con-button {
            width: 100%;
            display: flex;
            justify-content: center;
            margin-top: 40px;
            &>button {
                width: 400px;
                height: 54px;
                background: $bg-blue;
                color: $fc-white;
                font-size: 16px;
            }
        }
        .designer_join-con-doublebtn {
            display: flex;
            justify-content: center;
            button {
                width: 190px;
                height: 54px;
                margin: 0 10px;
                font-size: 16px;
                box-sizing: border-box;
                &:nth-child(1) {
                    border: 2px solid #999;
                    background: $bg-white;
                    color: $fc-gray;
                }
                &:nth-child(2) {
                    background: $bg-blue;
                    color: $fc-white;
                }
            }
        }
    }
}

//设计师详情
.designer_detail {
    display: flex;
    justify-content: space-between;
    .left-con {
        background-color: #fff;
        width: 690px;
        .top-con {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .title {
            font-size: 24px;
            color: $fc-base;
            margin: 30px 0;
        }
        .img {
            width: 500px;
            height: 614px;
            display: block;
            margin-bottom: 30px;
        }
        .guanzhu {
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .comment-list {
            li {
                display: flex;
                padding: 30px;
                &:not(:last-child) {
                    border-bottom: 1px solid $border-gray;
                }
                .toux {
                    width: 48px;
                    height: 48px;
                    border-radius: 50%;
                }
                .right-wrap {
                    margin-left: 20px;
                }
                .nickname {
                    font-size: 14px;
                    color: $fc-base;
                }
                .time {
                    font-size: 12px;
                    color: $fc-gray;
                }
                .content {
                    font-size: 12px;
                    color: $fc-title-gray;
                    margin-top: 15px;
                }
            }
        }
        .comment-count {
            font-size: 14px;
            color: $fc-base;
            border-bottom: 1px solid $border-gray;
            padding: 0 20px;
            .text {
                padding: 14px 0;
                display: inline-block;
                border-bottom: 2px solid $border-blue;
            }
        }
        .comment-more {
            text-align: center;
            font-size: 14px;
            color: $fc-blue;
            line-height: 70px;
            cursor: pointer;
        }
        .pinglun {
            padding: 20px;
            textarea {
                width: 638px;
                height: 102px;
                border: 1px solid #e5e5e5;
                padding: 5px;
                line-height: 30px;
                font-size: 14px;
                color: #333;
                resize: none;
            }
            .btn-wrap {
                text-align: right;
            }
            button {
                padding: 12px 30px;
                background-color: $bg-blue;
                font-size: 14px;
                color: #fff;
                margin-top: 20px;
            }
        }
    }
    .right-con {
        background-color: #fff;
        width: 210px;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 247px;
        padding: 24px 0 40px 0;
        .toux {
            width: 100px;
            height: 100px;
            border-radius: 50%;
        }
        .name {
            color: $fc-base;
            font-size: 16px;
            margin: 15px 0 10px 0;
        }
        .btn {
            background-image: linear-gradient( 90deg, rgb(246, 97, 18) 0%, rgb(250, 125, 60) 100%);
            box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.2);
            height: 36px;
            line-height: 36px;
            font-size: 14px;
            font-weight: bold;
            border-radius: 3px;
            color: $fc-white;
            margin: 0 5px;
            cursor: pointer;
            display: inline-block;
            width: 110px;
            text-align: center;
            margin-top: 15px;
        }
    }
}

// 设计师入驻-提交审核
.designer-join-success {
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    i {
        margin-right: 20px;
    }
    .line1 {
        font-size: 20px;
        font-weight: bold;
        color: $fc-base;
        margin-bottom: 16px;
    }
    .line2 {
        font-size: 12px;
        color: $fc-gray;
    }
}